from django.contrib import admin
from .models import VersionControl

class VersionControlAdmin(admin.ModelAdmin):
    # pass
    # verbose_name = '版本控制'
	# name = 'versionControl'
    list_filter = ("platform","version","upgrade_date")
    list_display = ("platform","version","upgrade_info","upgrade_date")
    readonly_fields = ("id",)
    icon = '<i class="material-icons">history</i>'

admin.site.register(VersionControl, VersionControlAdmin)
